package com.jmu.medicineknows.service;

import com.jmu.medicineknows.dto.DrugPageDto;
import com.jmu.medicineknows.dto.SearchDto;
import com.jmu.medicineknows.entity.*;

import java.util.List;

public interface SaleService {
    public Result getAll();
    public Result getAllByDate();
    public Result getRecords(DrugPageDto pageDto);

    public Result deleteRecord(Integer id);
    public Result updateRecord(SaleRecord saleRecord);
    public  Result searchByFlag(SearchDto searchDto);
}
